body {
  font-family: Arial Rounded MT Bold, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

header {
  background-color: #002d72;
  color: white;
  padding: 1px 0px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: 150px;
}

.search-bar {
  display: flex;
  align-items: center;
  position: relative;
}

.search-bar input {
  padding: 10px;
  border: none;
  border-radius: 25px 25px 25px 25px; /* Esquinas onduladas a la izquierda */
  border: 1px solid #ddd;
  width: 1000px; /* Aumenta el tamaño */
}

.search-bar button {
  padding: 10px;
  background-color: #ffffff;
  color: white;
  border: none;
  border-radius: 25px 25px 25px 25px; /* Esquinas onduladas a la derecha */
  position: absolute;
  right: 0;
  height: 100%;
}
.search-icon {
  width: 20px;
  height: 20px;
  position: relative; /* Hace que el elemento sea posicionable en relación a su posición normal */
  top: 0px; /* Mueve la imagen 5px hacia arriba */
  right: -5px; /* Mueve la imagen 5px hacia la derecha */
}
/* Responsive Styles */
@media (max-width: 768px) {
.search-bar {
  flex-direction: column;
}

.search-bar input,
.search-bar button {
  width: 100%;
  margin-bottom: 10px;
}
}
.logo-right img {
  max-width: 150px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px; 
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
}

form {
  position: relative;
}

form input[type="text"] {
  padding: 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 5px 5px 0 0;
}

form button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

form button img {
  width: 20px; /* Ajusta el tamaño de la lupa */
  height: 20px;
}

.separator {
  height: 5px;
  background-color: #00008B; /* Azul oscuro */
}

.hero {
  text-align: center;
  padding: 50px 20px;
}

.hero img {
  max-width: 100%;
  height: auto;
}

.productos {
  padding: 20px;
}

.producto {
  display: inline-block;
  margin: 10px;
  text-align: center;
}

.producto img {
  max-width: 100px;
  height: auto
}
nav {
  background-color: white;
}
/* Estilo para el enlace "Nuevos Productos" */
a[href="#nuevos-productos"] {
color: blue; /* Color del texto */
animation: blink 1s infinite; /* Animación de parpadeo */
}

/* Definición de la animación */
@keyframes blink {
50% {
  opacity: 0;
}
}
.search-container {
  background-color: white;
  border-radius: 10px 0 0 10px; /* Crea el efecto redondeado en la esquina izquierda */
  width: 300px; /* Ajusta el ancho según tus necesidades */
  height: 40px; /* Ajusta la altura según tus necesidades */
  padding: 10px;
}

.search-container input {
  border: none;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border-radius: 10px 0 0 10px; /* Hereda el borde redondeado del contenedor */
}
.imagen-ampliable {
  width: 1690px; /* Tamaño inicial de la imagen */
  height: 800px; /* Mantiene la proporción de la imagen */
  cursor: pointer; /* Cambia el cursor al hacer hover */
}

.imagen-ampliable:hover {
  opacity: 0.7; /* Efecto visual al pasar el ratón */
}

.imagen-ampliada {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(primer_promocional.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 9999; /* Asegúrate de que esté sobre otros elementos */
  display: none; /* Inicialmente está oculta */
}
/*parte dos de codigo a realizar en productos inlaca*/
.product-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.product {
width: calc(25% - 20px); /* Ajusta el ancho según la cantidad de columnas y el espacio entre ellas */
margin: 10px;
text-align: center;
}

.product img {
max-width: 100%;
}
.top-image {
text-align: center; /* Centra la imagen horizontalmente */
}

.promo-image {
max-width: 100%; /* La imagen no superará el ancho del contenedor */
height: auto; /* Mantiene la proporción de la imagen */
}
.separator {
background-color: white;
height: 2px; /* Ajusta el alto del separador */
width: 100%; /* Que ocupe todo el ancho */
}
.banner-responsive {
width: 100%;
height: auto;
}
#map {
height: 400px;
width: 100%;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%; /* Ajusta el ancho según sea necesario */
height: 400px; /* Ajusta la altura según sea necesario */
}

.text-container {
flex: 1;
padding: 20px;
}
footer {
  background-color: #ffffff; /* Cambia el color de fondo */
  text-align: center;
  padding: 0px;
}

footer img {
  max-width: 100%; /* Ajusta el ancho de la imagen al contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
}
.container {
text-align: center;
}

.content {
display: flex;
justify-content: space-around;
margin-top: 20px; /* Espacio entre el banner y el contenido */
}

.draggable-image, .video {
width: 700px; /* Ajusta el ancho de la imagen y el video */
height: 800px; /* Ajusta la altura de la imagen y el video */
position: relative;
cursor: move;
}
.video-container {
width: 50%; /* Ajusta el ancho según tus necesidades */
margin: 0 auto; /* Centra el contenedor horizontalmente */
padding: 20px; /* Añade espacio alrededor del video */
background-color: #ffffff; /* Color de fondo del contenedor */
text-align: center; /* Centra horizontalmente el video */
position: relative; /* Necesario para el posicionamiento absoluto del video */
margin-top: 20px; /* Add margin to separate from header */
}
video {
width: 30%; /* Ajusta el ancho deseado, en este caso 80% del contenedor */
height: auto; /* Mantiene la proporción original del video */
position: absolute; /* Posiciona el video absolutamente dentro del contenedor */
top: 45%;
left: 50%;
transform: translate(-50%, -50%); /* Centra el video vertical y horizontalmente */
margin-top: 20px; /* Add margin to separate from header */
}
.product a {
display: block; /* Make the link occupy the full width of the image */
}

.product a:hover {
cursor: pointer; /* Change the cursor on hover */
opacity: 0.8; /* Slightly fade the image on hover */
}


/* Sección Hero */
.hero {
text-align: center;
padding: 0px;
}

.image-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.image-container img {
width: 100%;
margin: 2px;
}

/* Media queries para hacer el diseño responsivo */
@media (max-width: 768px) {
.image-container img {
    width: 45%;
}
}

@media (max-width: 576px) {
.image-container img {
    width: 100%;
}
}


.video-containet {
  position: relative;
  width: 100%;
  height: 100vh; /* Ajusta la altura según tus necesidades */
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Hace que el video llene todo el contenedor sin distorsionar */
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.feature {
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
}

.feature img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
/*video de  quienes somos*/
.video-containete {
  position: relative;
  width: 100%;
  height: 0; /* Ajusta la altura según tus necesidades */
  padding-bottom: 68.56%; /* Proporción 16:9 (ajusta según tu video) */
}
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* quienes somos.css */

/* ... other styles ... */

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos horizontalmente */
    gap: 20px; /* Espacio entre elementos */
}

.feature {
    text-align: center;
    flex: 1 1 30%; /* Ajusta el ancho inicial de cada característica */
    padding: 20px;
}

/* Media queries para ajustar el diseño según el tamaño de pantalla */
@media (max-width: 768px) {
    .feature {
        flex: 1 1 100%; /* Hace que cada característica ocupe el 100% del ancho en pantallas pequeñas */
    }
}
.top-image-container {
  text-align: center; /* Centra la imagen horizontalmente */
}

.promo-image {
  width: 100%; /* Hace que la imagen ocupe el 100% de su contenedor */
  max-width: 100%; /* Establece un ancho máximo para evitar que sea demasiado grande */
  height: auto; /* Mantiene la proporción de la imagen */
}
.fecture {
  width: 100%; /* Ocupa todo el ancho disponible */
  position: relative; /* Necesario para posicionar los enlaces absolutamente */
}

.fecture .left-link {
  position: absolute;
  top: 51%; /* Ajusta según sea necesario */
  left: 0%; /* Ajusta según sea necesario */
  width: 100%; /* Ajusta el tamaño del enlace */
  height: 60%; /* Ajusta el tamaño del enlace */
  /*background-color: rgba(0, 0, 255, 0.3); /* Color de fondo para visibilidad */
}

.fecture .right-link {
  position: absolute;
  top: 0%; /* Ajusta según sea necesario */
  left: 0%; /* Ajusta según sea necesario */
  width: 100%; /* Ajusta el tamaño del enlace */
  height: 50%; /* Ajusta el tamaño del enlace */
  /*background-color: rgba(0, 255, 0, 0.3); /* Color de fondo para visibilidad */
}

.promo-imagenes {
  width: 100%; /* Ocupa todo el ancho disponible dentro de su contenedor */
  height: auto; /* Mantiene la proporción original de la imagen */
  object-fit: cover; /* Rellena todo el contenedor, recortando la imagen si es necesario */
}
/*prototipo de propuesta de barra*/
/*prototipo de propuesta de barra*/
nav {
  background-color: #ffffff; /* Color de fondo del menú */
  color: #fff; /* Color del texto */
  display: flex;
  justify-content: space-between; /* Centra los elementos horizontalmente */
  align-items: center;
  padding: 0px 20px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav li {
  margin: 0 15px;
}

nav a {
  text-decoration: none;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding-left: 0; /* Remove left padding */
}
.dropdown li {
  text-align: left;
}
nav li:hover .dropdown {
  display: block;
}
.dropdown a img {
  width: 150px; /* Ajusta el ancho de la imagen según sea necesario */
  height: 35px;
  margin-right: 0px; /* Ajusta el margen derecho para separar la imagen del texto */
  vertical-align: middle;
}
.dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
nav li:hover .dropdown {
  display: block;
}
.search-input {
  padding: 8px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  width: 200px;
}

.search-icon {
  width: 20px;
}
/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  nav ul {
      flex-direction: column;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: #ffffff00;
      transform: translateY(-100%);
      transition: transform 0.3s ease-in-out;
  }

  nav ul.active {
      transform: translateY(0);
  }

  .menu-toggle {
      display: block;
      cursor: pointer;
  }

  .menu-toggle .bar {
      width: 25px;
      height: 3px;
      background-color: #00008B;
      margin: 5px 0;
  }
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: #00008B;
}
.nav-links {
  list-style: none;
  display: flex;
  z-index: 999; /* Asegúrate de que esté por encima del banner */
}
/* Para ajustar el tamaño de la fuente en el menú */
.nav-links ul li a {
  font-size: 10px; /* Ajusta el tamaño según tus preferencias */
  background-color: white; /* Agrega este estilo */
}
/*para las imagenes del menu*/
.nav-image {
  max-width: 100%; /* Adjust this value as needed */
  height: auto; /* Maintain aspect ratio */
}
@media (max-width: 768px) { 
  /* Styles for smaller screens (e.g., tablets) */
  .nav-image {
      max-width: 80%; /* Reduce size for smaller screens */
  }
}

@media (max-width: 480px) { 
  /* Styles for mobile phones */
  .nav-image {
      max-width: 60%; /* Further reduce size for smaller screens */
  }
}
/*para el submenu de productos*/
.product-image {
  max-width: 100%; /* Permite que la imagen se ajuste al ancho de su contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
}

/* Media queries para adaptar el tamaño en diferentes dispositivos */
@media (max-width: 768px) { /* Para tablets y dispositivos más pequeños */
  .product-image {
    width: 50%; /* Ajusta el ancho según tus necesidades */
  }
}
/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  nav ul {
      flex-direction: column;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: #ffffff00;
      transform: translateY(-100%);
      transition: transform 0.3s ease-in-out;
  }

  nav ul.active {
      transform: translateY(0);
  }

  .menu-toggle {
      display: block;
      cursor: pointer;
  }

  .menu-toggle .bar {
      width: 25px;
      height: 3px;
      background-color: #00008B;
      margin: 5px 0;
  }
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: #00008B;
}
.nav-links {
  list-style: none;
  display: flex;
  z-index: 999; /* Asegúrate de que esté por encima del banner */
}
/* Para ajustar el tamaño de la fuente en el menú */
.nav-links ul li a {
  font-size: 18px; /* Ajusta el tamaño según tus preferencias */
}

/* ...existing code... */
.image-links-container {
  position: relative;
}

.image-link {
  position: absolute;
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  /*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
  cursor: pointer;
}
/* ...existing code... */

/* ...existing code... */

.promo-links-container {
  position: relative;
}

.promo-link {
  position: absolute;
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  /*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
  cursor: pointer;
}

/* ...existing code... */

/* ...existing code... */

.top-image-container {
  position: relative;
}

.top-image-link {
  position: absolute;
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  /*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
  cursor: pointer;
}

/* ...existing code... */

/* ...existing code... */

.top-image-link,
.promo-link,
.image-link {
  position: absolute;
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  /*background-color: rgba(255, 0, 0, 0.5); /* Semi-transparent background for visibility */
  cursor: pointer;
  z-index: 10; /* Ensure links are above other elements */
}

/* Ensure links are visible and functional on mobile */
@media (max-width: 768px) {
  .top-image-link,
  .promo-link,
  .image-link {
    width: 100%; /* Adjust size for mobile */
    height: 40px; /* Adjust size for mobile */
  }
}

/* Ensure links are visible and functional on desktop */
@media (min-width: 769px) {
  .top-image-link,
  .promo-link,
  .image-link {
    width: 100%; /* Adjust size for desktop */
    height: 57px; /* Adjust size for desktop */
  }
}

/* ...existing code... */



